package org.metasketch.editor.links;

import org.metasketch.diagram.javafx.graphics.BaseGraphic;

public interface ILink {

	public BaseEndConfig isPossible(BaseGraphic source);

	//horrible hacckkkkk
	public EndType getEndType(Object source, Object target);
	
	public EndType getFinishEndType(BaseGraphic source, BaseGraphic target);

	public EndType getStrictFinishEndType(BaseGraphic source, BaseGraphic target);

	public EndType getProperFinishEndType(BaseGraphic source, BaseGraphic target);

	public ILinkConfig getLinkConfig(BaseGraphic source,
			BaseGraphic target);

	public SemanticConfig getSemanticConfig();

	public String getStyle();

}
